﻿<%@ Page Title="Login" Language="C#" MasterPageFile="~/Cash.Master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="Cash.View.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 98%; height: 235px;">
        <tr>
            <td>
                <asp:Login ID="lgnAcesso" runat="server" Align="center" Width="350px" Height="170px"
                    BackColor="Gainsboro" BorderColor="#000066" BorderPadding="20" BorderStyle="Solid"
                    BorderWidth="1px" Font-Italic="False" Font-Names="Arial" Font-Size="Large" ForeColor="#000066"
                    LoginButtonText="Entrar" PasswordLabelText="Senha: " PasswordRequiredErrorMessage="Digite a sua Senha."
                    RememberMeText="Mantenha-me conectado" TitleText="Acesso GymMaster" UserNameLabelText="Usuário:"
                    UserNameRequiredErrorMessage="Digite o seu Usuário." OnAuthenticate="lgnAcesso_Authenticate"
                    DestinationPageUrl="~/View/BemVindo.aspx" FailureText="Usuário/Senha inválido, tente novamente.">
                    <InstructionTextStyle Font-Italic="false" ForeColor="Black" />
                    <LayoutTemplate>
                        <table cellpadding="20" cellspacing="0" style="border-collapse: collapse;">
                            <tr>
                                <td>
                                    <table cellpadding="0" style="height: 170px; width: 350px;">
                                        <tr>
                                            <td align="center" colspan="3" style="padding: 1px; margin: 0px 0px 3px 0px; color: White;
                                                background-color: #507CD1; font-weight: normal;">
                                                Acesso MANAGEMENT CASH
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" style="width: 100px">
                                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Usuário:</asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                    ErrorMessage="Digite o seu Usuário." ToolTip="Digite o seu Usuário." ValidationGroup="lgnAcesso"
                                                    class="validacaoCampos">*  Campo Obrigatório</asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" style="width: 100px">
                                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Senha: </asp:Label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                    ErrorMessage="Digite a sua Senha." ToolTip="Digite a sua Senha." ValidationGroup="lgnAcesso"
                                                    class="validacaoCampos">*  Campo Obrigatório</asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" colspan="3" style="color: Red; font-size: 15px;">
                                                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="3">
                                                <!--<asp:CheckBox ID="RememberMe" runat="server" Text="Mantenha-me conectado" />-->
                                                <br />
                                            </td>
                                        </tr
                                        <tr>
                                            <td colspan="3">
                                                <asp:HyperLink ID="hlkCriarConta" runat="server" Font-Names="Ebrima" NavigateUrl="~/View/CriarConta.aspx"
                                                    Font-Overline="False" Font-Size="10pt" Font-Strikeout="False">Crie sua conta</asp:HyperLink>
                                                <br />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100px; vertical-align: bottom;" colspan="2">
                                                <asp:HyperLink ID="hlkRecuperaSenha" runat="server" Font-Names="Ebrima" NavigateUrl="~/View/RecuperaSenha.aspx"
                                                    Font-Overline="False" Font-Size="10pt" Font-Strikeout="False">Esqueceu sua senha?</asp:HyperLink>
                                            </td>
                                            <td align="right">
                                                <asp:Button ID="LoginButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                                    BorderStyle="Solid" BorderWidth="1px" CommandName="Login" Font-Names="Verdana"
                                                    Font-Size="0.9em" ForeColor="#284E98" Text="Entrar" ValidationGroup="lgnAcesso" />
                                            </td>
                                        </tr>
                                    </table>
                        </td> </tr> </table>
                    </LayoutTemplate>
                    <FailureTextStyle Font-Size="Small"></FailureTextStyle>
                    <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                        Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                    <TextBoxStyle Font-Size="0.8em" />
                    <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
                </asp:Login>
            </td>
        </tr>
    </table>
</asp:Content>
